/*
 * ident.h
 * 
 * Manages identifiers.
 */

#ifndef IDENT_H
#define IDENT_H

#include "common.h"

#define IDENT_TABLE_SIZE 500

typedef struct {
	char *str;
	enum {NUM} type;
} ident_t;

typedef struct {
	hashmap_t *ident_table;
} context_t;

void init_ident();

void cleanup_ident();

#endif /* !IDENT_H */

